withContext

fun <C : Any> withContext(key: ConfigContext.Key<C>, value: C): ConfigContext<T>

Adds a flag-info pair into this context. Information should be a boolean or integer value

Return

this context with the new flag stored

Author

fzzyhmstrs

Since

0.2.0

Parameters

key

the context key

value

the data value associated with the context flag